/*
 build time: Sep 08,2013 21:59
 author: jiejie.zhuo
 */
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #333;
    font-family: "Microsoft YaHei", sans-serif, 'Microsoft Sans Serif', 'Microsoft JhengHei UI';
    background-color: #555;
}

#main {
    width: 480px;
    margin: 0 auto;
}

#main canvas.playing {
    cursor: none;
}

#modal {
    width: 400px;
    height: 300px;
    top: 100px;
    left: 50%;
    margin-left: -200px;
    border: #666 solid 2px;
    border-radius: 8px;
    position: absolute;
    font-size: 20px;
    background-color: #dddddd;
    z-index: 1002;
}

@media screen and (max-width: 480px) {
    #main, #container {
        width: 100%;
    }

    #modal {
        width: 94%;
        top: 10px;
        left: 3%;
        margin: 0;
    }
}

#modal.hide {
    display: none;
}

#modal .header {
    height: 45px;
    line-height: 45px;
    font-weight: bold;
    text-align: center;
    border-bottom: #666 solid 2px; 
}

#modal .content {
    height: 210px;
    line-height: 210px;
    font-weight: bold;
    text-align: center;
}

#modal .footer {
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-top: #666 solid 2px; 
}

#modal .footer button {
    width: 120px;
    height: 30px;
    border: #666 solid 2px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    bottom: 4px;
    left: 50%;
    margin-left: -60px;
    color: #333;
    cursor: pointer;
}